home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 4
/
FM Towns Free Software Collection 4 - Disc 1.iso
/
msdos
/
ish
/
eish.man
< prev
next >
Wrap
Text File
|
1991-10-18
|
39KB
|
1,101 lines
How to use "ish file converter (Ver. 2.03)"
0. Introduction
This document includes the following chapters.
0. Introduction
1. What is "ish file converter"
2. Quick reference to use ish file converter (restore files)
3. Usage of ish file converter
4. Switch summary
5. About an option file
6. About a multiple volume format
7. Set the timezone
8. Caution when aborting ish file converter
9. Message summary
10. Examples to use
11. Copyrights and permission
12. Special thanks
Please read the chapters 1 and 2, first. The remaining chapters will
be useful when you want to use this converter.
1. What is "ish file converter"
Ish file converter is one of the tools that enable to send/receive
files including non printable characters (for example, executable programmes
and graphical data) using an e-mail system or a bulletin board system (bbs)
that can not accept binary data in communications.
As executable programmes or graphical data have non printable control
codes normally, you can't send/receive files using an e-mail or a bbs easily.
You are able to send/receive these files using protocol communications such as
xmodem, ymodem, zmodem or kermit, or converting them into text files that
include only printable codes. Ish file converter is a file conversion tool
for sending/receiving data in communications.
You can send/receive programmes easily using ish file converter in most
personal computers communications networks. The characteristics of ish file
converter are shown follows.
(1) Highest reliability
As using CRCs (cycle redundancy checks) for error detection, errors are
detected almost perfectly when transfer errors occur. In this case, when error
rate is lower (two line errors or less in 62 or 72 lines), ish file converter
corrects errors perfectly and restore files. When error rate is higher, ish
file converter report errors and delete files that can't be restored,
automatically. By this mechanism, you can free from trouble when received
programmes are not run correctly --- miss transferred or bugs ?
(2) Easy operation to restore files
Operations for restoring files are very simple. First, you read all
e-mails or boards with logging using your favorite terminal software. Then,
type
A>ish LogFilename(s)
and all files in LogFile(s) are restored. That's all. Although LogFile(s)
include all texts you read, ish file converter ignore texts that are not parts
of target files automatically and you need not erase these texts.
(3) Divide a file into multiple volumes
When you want to send a large file, its converted file would exceed the
limitation of an e-mail or bbs in bytes. In this case, as you should divide it
into multiple volumes, ish file converter can divide a file into upto 250
multiple volumes. Moreover, when restoring divided files, ish file converter
maintains the sequence of divided files automatically even if volumes are in
poor order or other files are in the middle of sequence of volumes in your
log files.
(4) Useful facilities
Ish file converter has many useful facilities that are easy to use for
both beginners and experts. For example, a file name and a line number can be
written (a title can be written) in each converted file that is useful to
download, you can restore files in the different disks or directories accouding
to target operating systems, a capacity in bytes to be required for
storing/restoring a file is displayed if disk free space is short, time stamps
of files to be restored are corrected for your country.
(5) High speed
Ish file converter is written in assembly language and is very faster.
Ish file converter is a software that is copyrighted by Masachika
Ishizuka and can be used and distributed freely of charge. More details are
described in the chapter 11.
2. Quick reference to use ish file converter (restore files)
First, put ish.com and ish.opt into a currect directory (or into a
pathed directory) and set your timezone (see the chapter 7).
Then, you download "ished" files into your disk. Ished files are like
below.
<<< ish.man for MS-DOS ( use ish ) [ 987 lines ] >>>
!!SX!igR!2"DRo/f%_-C!C$oY9t5!&"H!Wa<\D!!!!?pu:TW)p!!!!!!!!!!!!!!!!!!!!!!!!rj-f
!!SX!igR!2"DRo/f%_-C!C$oY9t5!&"H!Wa<\D!!!!?pu:TW)p!!!!!!!!!!!!!!!!!!!!!!!!rj-f
!!SX!igR!2"DRo/f%_-C!C$oY9t5!&"H!Wa<\D!!!!?pu:TW)p!!!!!!!!!!!!!!!!!!!!!!!!rj-f
"WC$<IphmLEM5SW]F3J2c+Xxuu0N'dB2={3AU~&'Du!v9t7n>'\0qYQ8+2mD"i:7Uc-BYZ+3ko0VD>
$S9<*lYmw=0NeOjt:ximI!Q7+2'q[Cl?&XFwEw*wieu6eojtaEK7'}KWQ($t:,&fHFVs@gF8"[=wvF
Finally, type
A>ish LogFilename(s)
to restore all MS-DOS files and OS independent files in LogFile(s). Or, type
A>ish LogFilename(s) /q
to restore all files (not only MS-DOS files and OS independent files but also
ant other OSs' files) in LogFile(s) with question. You can answer y (yes), n
(no), r (restore all files) or q (quit ish file converter).
More details are described in the chapter 3.
3. Usage of ish file converter
(1) How to restore files (from downloaded ished files)
The following shows how to restore files. ([A] means A is optional.
{A|B} means either A or B is selectable.)
A>ish [LogFilename(s)] [{/r|/q}] [/@ [tag]] [/m [path]] [/c [path]] [/9 [path]]
[/u [path]] [/ma [path]] [/? [path]] [/* [path]] [/nv] [/kp] [/it] [/qu]
[/so] [/lf]
LogFilename(s) are files that include ished files. If you specify no
Logfilenames, ish file converter read from the standard input. In this case,
the standard input must be redirected other than a console. Ish file converter
Ver. 2.03 can't read from a console. (If you force to read standard input, you
must use other utilities like the cat. A>cat | ish is one possible operation.)
All switches are described in the chapter 4.
Files are usually restored in your disk with original filenames and
time stamps. When the same filenames are already exist but these are not
identical from the files to restore, filename extensions are renamed to 000,
001, ..., 999. When you restore multiple volumes (see the chapter 6),
temporary files with filename extension #00, #01, ..., #99 are created, then
renamed to original names and delete temporary files after all volumes are
restored. A temporary file is a little bit larger than its original file
because the temporary file includes control information to restore. (Ish file
converter Ver. 2.03 create temporary files 260 bytes larger than their original
files.)
You can redirect the standard output. In this case, restored files are
treated as printable text files, and input filenames and restored filenames are
put into before restored files. So you can't redirect the standard output when
binary files are restored. If you want to redirect the standard output to the
console (con), specify the switch /so.
(2) How to store files (to upload)
The following showns how to store files (create ished files). ([A]
means A is optional. {A|B} means either A or B is selectable. ... means a
repetition of any times.)
A>ish Filename(s) [/s[{7|8|s|n}]] [/@ [tag]] [{/m|/c|/9|/u|/ma|/?|/*} [path]]
[{/n|/e}] [/t [number]] [/mv [number]] [/p char [char ...]] [/nv] [/so]
Filename(s) are files that are in the disks. When storing files, you
can't omit Filename(s) nor redirect the standard input.
When storing files, you must specify correctly what OS (operating
system) is target, or huge number of people who downloaded your files are
troubled.
All switches are described in the chapter 4.
Ished files are stored in your disk renamed with filename extensions
ish (single volume) or i01, i02, ..., i99, ia0, ia1, ..., ia9, ib0, ib1, ...,
io9, ip0 (multiple volumes). If the same filename is exist, the file is not
stored.
You can redirect the standard output. If you want to redirect the
tandard output to the console (con), specify the switch /so.
(3) Examples of redirection
The following examples show how useful to redirect.
Example 1:
A>ish a:logfile.lzh /s /mv 1000 /so
You can check numbers of divided volumes and total lines easily. This
example is useful to adjust a value like a switch /mv number. If you checked
all values, you can stop ish file converter by pressing ^C. If you finished
the adjustment of values, rerun ish file converter without the switch /so and
create an ished file.
Example 2:
If your communication software can be sent files through the standard
output directly, you need not create ished files before sending. For example,
the japanese popular communication software named 'termy' can
A>termy
:t !ish Filename(s) /s
to upload Filename(s) with converting.
Example 3:
A>ish a:*.* /ss /m | ish /m d:\backup
This example shows to backup all files in the currect directory on the
disk a: to d:\backup. You must take care of disk free space for a temporary
file to pipe.
As ish file converter checks duplicated files when restoring, you can
avoid overwriting the existing files or duplicating the same files.
4. Switch summary
(1) Specify the restoring mode (/r, /q)
These two switches specify to restore files.
/r (Restore)
All files in input files are restored. If the same files are
already exist, verify files (single volume) or skip files (multiple
volumes).
/r is default when not specifying the storing nor restoring mode.
/q (restore with Question)
Each file is asked to restore or not.
Prompt is Restore ? (y/n/r/q) or Restore ? (y/n/r/q/!), and your
answer is y, n, r, q or ! as below.
y (yes)
Restore this file.
n (no)
Skip this file.
r (restore)
Restore this file and all the following files.
q (quit)
quit ish file converter and return to the MS-DOS shell.
! (shell escape)
Invoke the MS-DOS shell. It is available only when the following
conditions are all met.
(a) The dos version is 3.0 or upper.
(b) The environ variable COMSPEC is setted correctly.
(c) The available memory is enough to invoke child shell.
(d) Both of the standard input and the standard output are not
redirected.
To return ish file converter, terminate the child shell.
(If the shell is command.com, type exit.)
As the interaction of restoring or not is performed through the
standard error, if the standard error is redirected, this switch can
not be specified.
(2) Specify the storing mode (/s, /s7, /s8, /sn, /ss, /o, /o8, /os)
These eight switches specify to store files. The switches /o, /o8 and
/os are not used normally because these switches are supplied only for the
compatibilities of older ish file converters.
The formats of ished files (ish formats) are four types, now. These
are the 7 bit format, the 8 bit format, the non-kana format and the shift JIS
format. If you use 7 bit communications, you should use the 7 bit format, or
you fail to transfer files or transfer efficiency is poor because of forcing
to keep the transparency of 8 bit data (perhaps, ^N (shift out) and ^O (shift
in) are added). If you can use 8 bit communications, you can use the 8 bit
format, the non-kana format or the shift JIS format.
The 7 bit format includes characters from 0x20 to 0x7e.
The 8 bit format includes characters from 0x20 to 0x7e and from 0xa1
to 0xdf.
The non-kana format and the shift JIS format include characters from
0x20 to 0x7e and from 0x81 to 0xfe.
And all formats include 0x0a (LF) and 0x0d (CR). (And 0x1b (ESC) and
other characters would be included for titles.)
The 7 bit format converts 13 bits source data to 16 bits ished data.
The 8 bit format and the non-kana format convert 7 bits source data to
8 bits ished data.
The shift JIS format converts 15bits source data to 16 bits ished data.
The three types of format for 8 bit communications are supplied because
Japanese communications networks are typically classified these three types.
When restoring files, you need not think what formats are used. Ish
file converter identify the formats and restores files automatically.
/s (Store)
The same as /s7.
/s7 (Store the 7 bit format)
Store 7 bit format files.
(Sometimes, this format is called the JIS 7 format.)
/s8 (Store the 8 bit format)
Store 8 bit format files.
(Sometimes, this format is called the JIS 8 format.)
/sn (Store the Non-kana format)
Store non-kana format files.
(Sometimes, this format is called the shift JIS (non-kana) format.)
/ss (Store the Shift jis format)
Store shift JIS format files.
/o (store the Old format)
Store old format files.
(This switch enables to keep the compatibility of older ish file
converters Ver. 1.01 or before.)
/o8 (store the Old 8 bit format)
Store old 8 bit format files.
(This switch enables to keep the compatibility of older ish file
converters Ver. 1.xx.)
/os (store the Old Shift jis format)
Store old shift JIS format files.
(This switch enables to keep the compatibility of older ish file
converters Ver. 1.xx.)
(3) Specify the target operating system (/m, /u, /ma, /c, /9, /?, /*)
These seven switches specify the target operation system(s) to store or
restore. You can specify only one OS when storing and many OSs when restoring.
Each switch can specifies the path to store or restore. If you omit
the path, currect path is assumed.
/m (Msdos)
MS-DOS.
/m is default for storing or restoring.
/u (Unix)
unix.
/ma (MAc)
Mac.
/c (Cp/m)
CP/M.
/9 (OS-9)
OS-9.
/? (other)
other OSs.
/* (all)
all OSs.
This switch means that this file is common for all OSs.
/* is default for restoring.
And if you specify the switch /q and no switches for OSs, all switches
of /m, /u, /ma, /c, /9, /? and /* are assumed.
(4) Specify the tag that identifys switches to be used (/@)
To reduce efforts to specify command line switches, you can specify the
combinations of switches in the file called "option file".
Many combinations of switches can be written in an option file. It is
identfied by the identifier called "tag" that which combination will be used.
More details are described in the chapter 5.
/@ (tag)
You can specify a tag followed by the switch /@. If you don't
specify the /@ tag, ish file converter assumes that the tag of
"default", "defaults" or "defaultr" is specified. (See the chapter 5.)
You can specify the /@ but no tags to disable refering to the default
tags.
Ish file converter identifys that letters of a tag are capitals or
not.
(5) Specify other switches to store (/mv, /t, /p, /n, /e)
These five switches can be specified to store.
/mv (Multi Volume format)
Specify to enable making multiple volume format ished files. (See
the chapter 6.)
The maximun number of lines for each divided volume is specified
followed by the switch /mv. Too small number of lines makes too many
volumes. The maximum number of volumes for each file is 250.
As each number of lines is adjusted (reduced) automatically not to
waste spaces in bytes, it is not a bug that the number of lines in each
file is not equal to the number specified.
If the number of lines specified is enough to store a single volume,
ish file converter ignores the switch /mv and create a single volume.
/t (Title)
Specify to write titles in ished files.
The number of lines in which a title is written again can be
specified followed by the switch /t.
The /t 0 has special meaning that specifys not to write titles.
The /t 1 or not to specify the switch /t is qeual to the /t 50.
/p (Prefix)
In some e-mail systems or bbss, a certain character on the head of
lines has a spacial meaning. The switch /p enables not to locate
characters specified on the head of lines by inserting another
character.
Characters not on the head of lines are specified followed by the
switch /p.
For example, '/p !@abc' specifys that the characters of !, @, a, b
and c are not on the head of lines.
Another way to specify characters is hexadecimal value followed by
a backslash (\). For example, '/p ab c\5c\7c \2f \20 def' specifys
that the characters of a, b, c, d, e, f, /, \, | and space are not on
the head. (This example says that spaces among characters are igonored
and if you want specify the space character, you should specify \20.)
/n (Non escape sequence)
Specify not to use escape sequence for titles.
/n is default.
/e (Escape sequence)
Specify to use escape sequence of change colors for titles.
(6) Specify the other switches to restore (/it, /lf, /kp, /qu)
These four switches can be specified to restore.
/it (Ignore Time stamps)
Specify to ignore time stamps.
If this switch is not specified, the same files but time stamps are
not identical are all restored.
/lf (ignore LFs and crs)
Specify to ignore LFs and CRs in ished files to restore.
As LFs and CRs are used for line delimiters, this switch is not
preferable to restore normal ished files. Only when you can't restore
ished files, this switch would help you to restore files.
If files are restored with the switch /lf, the reliability of these
files are still good regardless above notice.
This switch makes slow down to restore files.
/kp (KeeP files)
Specify to keep files not to restore successfully. If you don't
specify this switch, all files not to be restored successfully are
erased automatically.
/qu (QUick)
Specify to reduce displaying messages to be faster.
(7) Specify the other switches to store or restore (/nv, /so)
These two switches can be specified to store or restore.
/nv (Not V30)
Specify that your CPU is not NEC V30 or fully compatibles.
Ish file converter checks the kind of CPUs. If your CPU is one of
the Intel i8086, i8088, i80186, i80286, i386, i486 or fully
compatibles, or the NEC V20, V30, V40, V50 or fully compatibles, ish
file converter can identify automatically and you need not to specify
this switch. If your CPU is another and ish file converter is not
running without this switch, you should specify this switch.
/so (Standard Output)
Specify the output to the standard output.
If you want to redirect the standard output to some file or device
other than the console, you need not specify this switch.
5. About an option file
To reduce efforts of specifying command line switches, you can specify
the combinations of switches in the file called an 'option file'. It also
enables that too many switches that are too long for a command line are
specified.
To use an option file, you set the option file's full path name to the
environ variable 'ishopt'. For example, you have the option file called
a:\usr\bin\ish.opt, type
A>set ishopt=a:\usr\bin\ish.opt
(If you don't set ishopt, ish file converter assumes that the option file
ish.opt exists the same directory of ish.com (MS-DOS 3.00 or upper), or the
current directory (MS-DOS 2.xx).)
(1) How to write the option file
An option file is consist of tags, switches and comments.
tags
Many combinations of switches can be written in an option file.
It is identfied by the identifier called a 'tag' that which combination
is used.
Tags are the head of lines. Unless other tags are appeared or the
end of the option file is encountered, each tag is effective.
Tags are made of alphabets, numeric figures, symbols (except colon)
and kanji (Chinese characters) and a colon(:) is followed by each tag.
Tags are not beginning at the #. Letters are identified if capitals
or not.
The duplicate tags are not checked. If you define tags duplicated,
ish file converter refers only to the first tag.
The following three tags are used for default tags. If these
default tags are not found, errors are not occured.
default:
This tag is referred when you don't specify the mode of
storing (/s, /s7, /s8, /sn, /ss, /o, /o8 nor /os), restoring
(/r nor /q) nor the switch /@.
defaultr:
This tag is referred when you specify the restoring mode
(/r or /q) but don't specify the switch /@.
defaults:
This tag is referred when you specify the storing mode
(/s, /s7, /s8, /sn, /ss, /o, /o8 or /os) but don't specify
the switch /@.
switches
All switches (see the chapter 4.) except the /@ are available.
It is possible that you can write switches in the same line followed by
the tag or in many lines. If you write switches in many lines, the
head of each line is space or tab because it is not to be confused a
next tag.
Although the number of switches in a tag is not limitted, the
duplication or the inconsistency of switches causes an error.
comments
You can write comments in the option file. The lines beginning with
# are ignored as comments by ish file converter.
The following example shows how to write the option file.
# default tag
default:
/nv
# defaults tag
defaults:
/s7 /t 100
/m a:\upload
# defaultr tag
defaultr:
/m a:\download\msdos
/c a:\download\cpm
/u a:\download\unix
/ma a:\download\mac
/9 a:\download\os9
/? a:\download\other
/* a:\download\all
# pcs upload for msdos
pu: /ss /t 100
/m a:\upload
# multiple volume for msdos
mv: /ss /t 100
/m a:\upload
# each volume is limitted within 800 lines.
/mv 800
# pcs download
pd: /r /qu
/m a:\download\msdos
/c a:\download\cpm
/u a:\download\unix
/ma a:\download\mac
/9 a:\download\os9
/? a:\download\other
/* a:\download\all
(2) How to specify the tag
You can specify a tag as shown below.
A>ish Filename(s) /@ tag
You can specify only a tag at once.
If you don't want to refer to the default tags (default, defaultr nor
defaults), you specify another tag or the /@ without tags.
You may specify a tag with colon nor not.
You should take care that letters are identified if capitals or not.
You may specify a tag with other command line switches. In this case,
you should take care of no duplication nor inconsistency of switches.
6. About a multiple volume format
One merit of using ish file converter Ver. 2.03 is supporting the
multiple volume format.
If you want to send a too large file but you can't send so a large
e-mail nor a large text for a bulletin board because of system limitation, the
multiple volume facility is very useful. And moreover, if you can send a huge
file, it would be better for you to send divided volumes because if
transmission errors occur and you resend a divided small volumes instead of a
huge file.
In the multiple volume format, each file is divided multiple ished
volumes within the specified lines. You only upload these all volumes in any
sequence.
You can download all volumes in any sequence to restore. That is all.
Finally, type
A>ish LogFilename(s)
If you don't download any volumes, you can't restore files. To search
what volumes are not downloaded yet, type
A>disp# TemporaryFilename(s)
That reports the status of TemporaryFile(s).
7. Set the timezone
Ish file converter Ver. 2.03 can adjust time stamps of restoring files
between communications with the difference in time. To use this facility, you
and your partner should set the timezone. (If you or your partner don't set
the timezone, time stamp adjustment is not performed. As the older version of
ish file converter (Ver. 1.xx) doesn't have this facility, if you or your
partner use the older version, time stamp adjustment is not performed.)
To set the timezone, the following two ways are provided.
(1) Set the environment variable 'tz'
The environment valiable 'tz' can be set as shown below.
A>set tz=std[{+|-}]h[h][dst[any]]
The first three letters 'std' are timezone name. Ish file converter
ignores the content of the name but expects three letters to get a following
number.
The next one to three signed numeric letters are the difference in
time. The sing is the '+' or '-', and the '+' can be omitted. The number is
one or two digits. The number is set in hours between your country time and
UTC. (UTC is almost equal to GMT.) The sign '+' means your country time is
later than UTC.
Although you can specify the name of summer time 'dst' and then any
letters, ish file converter ifnores all these letters.
This way to set the 'tz' is easy but ish file converter ignores summer
time, don't use unless you country has not summer time.
For example, Japan has no summer time and nine hous ahead of UTC, then
A>set tz=JST-9
(2) Set the timezone file
This way can set summer time. You create a timezone file and set the
timezone filename to the environment valiable 'ishtz'. For example, you create
the timezone file named 'a:\usr\bin\timezone.tbl', type
A>set ishtz=a:\usr\bin\timezone.tbl
If you set both the 'tz' and 'ishtz', the 'ishtz' is used in
preference to the 'tz'. In this case, if corresponding date and time is not in
the timezone file, then the 'tz' is used.
If the 'tz' is not set and corresponding date and time is not in the
timezone file, the difference in time is assumed to 0.
The timezone file is made of more than or equal to zero lines as
follows.
yyyy-mm-dd-hh:mm:ss YYYY-MM-DD-HH:MM:SS [{+|-}]hh:mm:ss
From yyyy-mm-dd-hh:mm:ss (country time) to YYYY-MM-DD-HH:MM:SS
(country time) is different [{+|-}]hh:mm:ss from UTC in time. The sign '+'
means your country time is later than UTC.
These lines need not to write in sequence. Ish file converter searches
date and time from the upper lines, so you can write the most referred lines
upper in order to reduce overhead time.
You must exactly write the symbols ('-' and ':') as shown above. Each
line has to begin at the head of line. The 'yyyy' and 'YYYY' must be exactly
four digits and the other number must be exactly two digits. For example, You
can't write 90-10-01-00:00:00 or -9:00:00 instead of 1990-10-01-00:00:00 or
-09:00:00. The delimiter of items is a space or a tab.
The following line is a example that is equivalent to set tz=JST-9.
1980-01-01-00:00:00 2099-12-31-23:59:59 -09:00:00
8. Caution when aborting ish file converter
If you want to abort ish file converter, you must press ^C (or stop
or break key). Other operations such as turning the power off or pressing the
reset button will create half restoring files or destroy temporary files.
9. Message summary
The most messages are shown below in alphabetic order.
Aborted by the user.
(You pressed ^C and aborted.)
Can't execute shell.
(Probably, your memory is short, the 'comspec' is invalid, and so on.)
can't renamed to 'xxx'
(Probably, the same filename is already existing.)
Can't restore break condition.
(Probably, due to bugs in ish file converter or other softwares.)
Can't take input from a console.
(Redirect the standard input not to the console, or specify filenames.)
Can't take input from the stdin.
(Specify filenames.)
compare file read error
(Probably, your disk is destroyed, or due to bugs in ish file converter
or other softwares.)
CRC-16 and CRC-32 are not available.
(An ished file is stored by older ish file converter.)
CRC-16 error detect.
(An ished file or temporary file are destroyed.)
CRC-16 is OK.
CRC-16 and CRC-32 are OK.
CRC-32 error detect.
(An ished file or temporary file is destroyed.)
CRC-32 is OK.
CRC checking
crc error detect
(An ished file is destroyed.)
disk full
(You keep more than or equal to disk free spaces displayed and
reexecute.)
error detect
(You try to download again. Or you check your modem and terminal.
Or uploaded files are destroyed.)
file already exist
(Rename to the existing file.)
file creation error
(Probably, your disk is write protected, or your disk is destroyed.)
file division number over 250.
(Enlarge the number of /mv.)
file name error
(Check filenames.)
file not found
(Check filenames.)
file open error
(Probably, disk is destroyed.)
file restored successfully.
file write error
(Probably, disk is full or your disk is destroyed.)
file 'xxx' already exist
(Rename or remove the existing file.)
file 'xxx' not found
(Check filenames.)
files are the same.
xx file(s) stored.
xx file(s)/ yy volume(s) restored.
illegal switch(es)
(Probably, undefined switches are specified, or illegal combination of
switches. Check also in the option file.)
input file read error
(Probably, your disk is destroyed.)
ish abnormal end.
ish file is created.
memory allocation error
(Probably, due to bugs in ish file converter or other softwares.)
/mv number too short.
(Enlarge the number of /mv.)
no files converted.
option file 'xxx' open error.
(Check the environment variable 'ishopt' and the option file.)
option file or tz file read error.
(Check the option file and the timezone file.)
output file is deleted.
output file is kept
because /kp was specified.
Output to the stdout.
path 'xxx' not found
(Check the directory. If not exist, make the directory.)
prefix character 'x' is ahead of 'yy'
prefix must be one of the ' `~{}ow'.
(You specify too many characters in the switch /p. Remove unnecessary
characters.)
/q is not available
when the standard error handle is not assigned to a console.
(Stop to redirect the standard error or don't specify the switch /q.)
renamed to 'xxx'
source file is empty
tag 'xxx' not found.
(Check the tag.)
This is for other OSs
too long option file.
(Pack the contents within the tag specified.)
too long option filename.
(The length of option filename shall be 64 characters or less include
its pathname.)
too long shell name.
(The length of shell name shall be 64 characters or less include its
pathname.)
too short memories
TZ error.
(Check the environment valiable 'tz')
tz file data error.
(check the timezone file format.)
tz file open error.
(Check the environment variable 'ishtz' and the timezone file.)
Unacceptable format
(Use the newest version of ish file converter.)
Unexpected standard handle error.
(In abnormal MS-DOS status. Please restart the MS-DOS.)
volume restored successfully.
^Z is detected
(This error will occur when redirecting the standard output to a device
and a restoring file is not a text file.)
10. Examples to use
(1) Restore all MS-DOS files to the a:\log\msdos from *.log on current
directory.
A>ish *.log /m a:\log\msdos
ish file converter for MS-DOS Ver. 2.03
Copyright (C) 1986, 1987, 1989, 1990 by M. Ishizuka
[ restore <new> (m) ]
^ This showed ms-dos.
90-03-23.log: <- The name of logged file.
[843] blib092.lzh(m) : (46/46) o <- An ished file named blib092s
file restored successfully. .lzh for ms-dos was found in
[921] blib092s.lzh(m) : (126/126) oo 843 lines and it was
file restored successfully. restored. The length of body
[1198] taka_m01.lzh(m) : (42/42) o was 46 lines.
file restored successfully.
[2301] china2.lzh(m) > china2.000: (85/85) oo <- Restored and renamed to
file restored successfully. china2.000 because the same
name file existed.
[3180] squares.npb(*) : This is for other OSs ... skip this file.
[3520] sw_doc.lzh(m) : (59/59) o ^ Skipped because this was not
file restored successfully. for ms-dos.
[3601] snowfms.lzh(m) ? snowfms.lzh: (77/77) oo <- The same file existed and
files are the same. compared to verify.
[3761] xneko.taz(m) : (460/460) ooo1o2o <- ooo1o2o meant that one line
file restored successfully. error in the fourth block
[4919] cinit.lzh(m) : (44/44) o and two line error in the
file restored successfully. sixth block were occured.
[5469] snowfmex.lzh(m) : (93/93) oo (Each block had 62, 66 or 72
file restored successfully. lines.)
[6326] mm.lzh(m) : (52/52) o
file restored successfully.
[13010] b.txt(m) : (117/325) ox <- Aborted at the 117th line
of body.
error detect ... abort this file ( more than or equal to 3 errors / block )
output file is deleted.
error lines => [13113]->(I) [13120]->(Q) [13128]->(a)
^` ^ Errors occured at the
9 file(s)/ 0 volume(s) restored. | 13111th, 13120th and 13128th
| lines of body.
( ) showed the heading characters of its line.
(Note) About the lines to display
The number of lines displayed in [ ] was counted from the top of this file.
The number such as (3/3) was the relative line number within the restoring
file and this was counted only the lines of 'body'.
The 'body' is the part of contents, not include titles, comments nor
headers, of an ished file.
For example, the following ished file has 8 lines totally, the first line is
a comment, the following three lines are headers, and the last line is a title.
So, the body is 3 lines. (Lines from 5th to 7th are the body.)
<<< test.txt for MS-DOS ( use ish ) [ 8 lines ] >>>
!!C*!!gR!2"DRo?5Gm@^!C$o^2;K!'"HEI]<\XCC}aFz9k2a*Y!!!!!!!!!!!!!!!!!!!!!!!!9Q>4
!!C*!!gR!2"DRo?5Gm@^!C$o^2;K!'"HEI]<\XCC}aFz9k2a*Y!!!!!!!!!!!!!!!!!!!!!!!!9Q>4
!!C*!!gR!2"DRo?5Gm@^!C$o^2;K!'"HEI]<\XCC}aFz9k2a*Y!!!!!!!!!!!!!!!!!!!!!!!!9Q>4
"*;OT:-Q"{C\>SlQb!P{)k6g]h*y9|%w@^iLf/[P"A5B=K!!!!!!!!!!!!!!!!!!!!!!!!!!!!-:)N
a[Z6NX-)|jc%4^5xJ?OHy'$qB}zf96{Rk_7w=d[,}Fq@5g!!!!!!!!!!!!!!!!!!!!!!!!!!!!m0xj
c_B3\vWg"U!BPLLs)EZ6P'QvB|<VG'@PQO}7)A_'|a5MsPzk8MvZGBexre,w{fnNr@{4m'}W{u9LLH
--- test.txt (8/8) ---
(2) Store all *.lzh files on the current directory. The format is the shift
JIS and the target OS is ms-dos.
A>ish *.lzh /ss /m
ish file converter for MS-DOS Ver. 2.03
Copyright (C) 1986, 1987, 1989, 1990 by M. Ishizuka
[ store <shift JIS format> (m) ]
test1.lzh: ish file is created.
test2.lzh: ish file is created.
2 file(s) stored.
The test1.ish and test2.ish ware created on the current directory.
(3) Store all *.lzh files on the current directory. The format is the 7 bit,
the target OS is unix, and enables the multiple volume facility. Each
volume has less than or equal to 100 lines.
A>ish *.lzh /s7 /mv 100 /u
ish file converter for MS-DOS Ver. 2.03
Copyright (C) 1986, 1987, 1989, 1990 by M. Ishizuka
[ store <shift JIS format> (u) ]
test1.lzh: ish file is created.
test2.lzh: file 'test2.ish' already exist ... skip this file.
1 file(s) stored.
The test1.lzh was converted to the multiple volumes named test1.i01,
test1.i02, and so on. On the other hand, the test2.lzh was a small file and
its ished file was less than 100 lines. So, the test2.lzh would be converted
to the test2.ish, but the test2.ish was already existing and could not be
converted.
(4) Restore all *.i02 and *.i* files on the current directory onto the drive b.
The target OSs are ms-dos and unix.
A>ish *.i02 *.i* /r /m b: /u b:
ish file converter for MS-DOS Ver. 2.03
Copyright (C) 1986, 1987, 1989, 1990 by M. Ishizuka
[ restore <new> (m,u) ]
test1.i02:
[3] test1.lzh(u)<2/3> > test1.#00: (72/72) o
volume restored successfully.
test1.ish:
[2] test1.lzh(m) : (203/203) ooo
file restored successfully.
test2.ish:
[2] test2.lzh(m) : (20/20) o
file restored successfully.
test1.i01:
[3] test1.lzh(u)<1/3> > test1.#00: (72/72) o
volume restored successfully.
test1.i02:
[3] test1.lzh(u)<2/3> : file 'test1.#00' is the same ... skip this file.
test1.i03:
[3] test1.lzh(u)<3/3> > test1.#00: (59/59) o
CRC-16 and CRC-32 are OK.
renamed to 'test1.000'
file restored successfully.
3 file(s)/ 2 volume(s) restored.
The test1.#00 was a temporary file and was renamed automatically after
all volumes ware restored.
(5) Only check to restore without real restoring action.
A>ish *.i* /m /u /r >nul
ish file converter for MS-DOS Ver. 2.03
Copyright (C) 1986, 1987, 1989, 1990 by M. Ishizuka
[ restore <new> (m,*) ]
Output to the stdout.
test1.ish:
[2] test1.lzh(m) : (203/203) ooo
file restored successfully.
test2.ish:
[2] test2.lzh(m) : (20/20) o
file restored successfully.
test1.i01:
[3] test1.lzh(u)<1/3> : (72/72) o
volume restored successfully.
test1.i02:
[3] test1.lzh(u)<2/3> : (72/72) o
volume restored successfully.
test1.i03:
[3] test1.lzh(u)<3/3> : (59/59) o
volume restored successfully.
2 file(s)/ 3 volume(s) restored.
The all files could be restored.
11. Copyrights and permission
Ish file converter is permitted to use anybody. And it is permitted to
distribute every bulletin board free of charge without any changes. The
reports or mail are not necessary to use or distribute above conditions.
If you distribute in the media, you can receive actual expenses for
media and post.
If you distribute ish file converter, please distribute at least the
following together. I'm grad for you to distribute all files include sources.
(1) The executable files (ish.com and disp#.com).
(2) This document (eish.man).
It is permitted to change for your personal use. But if you want to
distribute changed programme, please give me e-mail.
The development and support are available only in ASCII-NET PCS in
Japan.
Selling this programme without my permission is inhibbited.
I can't give a guarantee about this programme.
All rights of this programme are reserved by Masachika Ishizuka.
If you send me e-mail, send to
PCS (ASCII-NET in Japan) pcs20210
JUNET in Japan ishizuka@kyo-sr.ntt.jp
12. Special thanks
Ish file converter has been developed on many advices. Thank all
people advised to me.
Special thanks for pcs29357 (kmori) in ASCII-NET PCS in Japan who gave
me many useful information about the timezone.
1990/8/5 Masachika Ishizuka in Japanese
1990/8/26 Translated in English by M. Ishizuka
1990/11/3 Updated by M. Ishizuka